export const pageList = [
  // 组织架构-单位管理
  {
    pagePath: "views/tissuesframe/unitsManage/index.vue",
    btnPermissions: [],
  },
  // 组织架构-人员管理
  // {
  //   pagePath: "views/tissuesframe/personManage/index.vue",
  //   btnPermissions: [],
  // },
  // 基础数据-菜肴管理
  {
    pagePath: "views/basicData/dishesManage/index.vue",
    btnPermissions: [],
  },
  // 基础数据-菜肴类型
  {
    pagePath: "views/basicData/dishesType/index.vue",
    btnPermissions: [],
  },
  // 基础数据-餐段管理
  {
    pagePath: "views/basicData/mealManage/index.vue",
    btnPermissions: [
      {
        buttonName: "编辑",
        buttonId: 30,
        apiUrl: "",
      },
      {
        buttonName: "添加",
        buttonId: 20,
        apiUrl: "",
      },
      {
        buttonName: "删除",
        buttonId: 40,
        apiUrl: "",
      },
    ],
  },
  // 设备管理-设备列表
  {
    pagePath: "views/deviceManage/deviceTable/index.vue",
    btnPermissions: [],
  },
  // // 设备列表-消息模板
  // {
  //   pagePath: "views/deviceManage/messageTable/index.vue",
  //   btnPermissions: [],
  // },
  // 预警信息
  {
    pagePath: "views/warningInformation/index.vue",
    btnPermissions: [],
  },
  //留样计划
  {
    pagePath: "views/samplePlan/planTable/index.vue",
    btnPermissions: [],
  },
  //留样台账
  {
    pagePath: "views/sampleLedger/ledgerTable/index.vue",
    btnPermissions: [],
  },
  // 系统管理-角色管理
  {
    pagePath: "views/systemManage/roleManage/roleManage.vue",
    btnPermissions: [
      {
        buttonName: "编辑",
        buttonId: 30,
        apiUrl: "",
      },
      {
        buttonName: "添加",
        buttonId: 20,
        apiUrl: "",
      },
      {
        buttonName: "查询",
        buttonId: 10,
        apiUrl: "",
      },
      {
        buttonName: "删除",
        buttonId: 40,
        apiUrl: "",
      },
    ],
  },
  // 系统管理-用户管理
  {
    pagePath: "views/systemManage/userManage/userManage.vue",
    btnPermissions: [
      {
        buttonName: "编辑",
        buttonId: 30,
        apiUrl: "",
      },
      {
        buttonName: "添加",
        buttonId: 20,
        apiUrl: "",
      },
      {
        buttonName: "查询",
        buttonId: 10,
        apiUrl: "",
      },
    ],
  },
  // 系统管理-菜单管理
  {
    pagePath: "views/systemManage/menuManage/menuManage.vue",
    btnPermissions: [
      {
        buttonName: "编辑",
        buttonId: 30,
        apiUrl: "",
      },
      {
        buttonName: "新增",
        buttonId: 20,
        apiUrl: "",
      },
      {
        buttonName: "删除",
        buttonId: 40,
        apiUrl: "",
      },
    ],
  },
  // 系统管理-默认角色管理-运维使用
  {
    pagePath: "views/systemManage/defaultRoleManage/defaultRoleManage.vue",
    btnPermissions: [
      {
        buttonName: "编辑",
        buttonId: 30,
        apiUrl: "",
      },
      {
        buttonName: "新增",
        buttonId: 20,
        apiUrl: "",
      },
      {
        buttonName: "删除",
        buttonId: 40,
        apiUrl: "",
      },
    ],
  },
];

export default {
  /**
   * @description 配置显示在浏览器标签的title
   */
  title: "",
  /**
   * @description token在Cookie中存储的天数，默认1天
   */
  cookieExpires: 1,
  /**
   * @description 是否使用国际化，默认为false
   *              如果不使用，则需要在路由中给需要在菜单中展示的路由设置meta: {title: 'xxx'}
   *              用来在菜单中显示文字
   */
  useI18n: false,
  /**
   * @description 默认打开的首页的路由name值，默认为home
   */
  homeName: "home",
  /**
   * @description 需要加载的插件
   */
  plugin: {
    "error-store": {
      showInHeader: false, // 设为false后不会在顶部显示错误日志徽标
      developmentOff: false, // 设为true后在开发环境不会收集错误信息，方便开发中排查错误
    },
  },
};
